home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Chat & Communication / Digsby build 37 / digsby_setup.exe / lib / encodings / iso8859_11.pyo (.txt) < prev    next >
Python Compiled Bytecode  |  2008-10-13  |  3KB  |  44 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.5)
  3.  
  4. import codecs
  5.  
  6. class Codec(codecs.Codec):
  7.     
  8.     def encode(self, input, errors = 'strict'):
  9.         return codecs.charmap_encode(input, errors, encoding_table)
  10.  
  11.     
  12.     def decode(self, input, errors = 'strict'):
  13.         return codecs.charmap_decode(input, errors, decoding_table)
  14.  
  15.  
  16.  
  17. class IncrementalEncoder(codecs.IncrementalEncoder):
  18.     
  19.     def encode(self, input, final = False):
  20.         return codecs.charmap_encode(input, self.errors, encoding_table)[0]
  21.  
  22.  
  23.  
  24. class IncrementalDecoder(codecs.IncrementalDecoder):
  25.     
  26.     def decode(self, input, final = False):
  27.         return codecs.charmap_decode(input, self.errors, decoding_table)[0]
  28.  
  29.  
  30.  
  31. class StreamWriter(Codec, codecs.StreamWriter):
  32.     pass
  33.  
  34.  
  35. class StreamReader(Codec, codecs.StreamReader):
  36.     pass
  37.  
  38.  
  39. def getregentry():
  40.     return codecs.CodecInfo(name = 'iso8859-11', encode = Codec().encode, decode = Codec().decode, incrementalencoder = IncrementalEncoder, incrementaldecoder = IncrementalDecoder, streamreader = StreamReader, streamwriter = StreamWriter)
  41.  
  42. decoding_table = u'\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\xc2\x80\xc2\x81\xc2\x82\xc2\x83\xc2\x84\xc2\x85\xc2\x86\xc2\x87\xc2\x88\xc2\x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